package com.xrtn.mapper;

import com.xrtn.bean.TPatientHistory;

import java.util.Map;

public interface TPatientHistoryMapper {
    int deleteByPrimaryKey(Integer historyId);

    int deleteByUserId(Integer userId);

    int deleteByPatientId(Integer userId);

    int insert(TPatientHistory record);

    int insertSelective(TPatientHistory record);

    TPatientHistory selectByPatientId(Integer historyId);

    TPatientHistory selectByMap(Integer patientId);

    int updateByPrimaryKeySelective(TPatientHistory record);

    int updateByPrimaryKey(TPatientHistory record);
}